package com.xubeizhi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xubeizhi.common.ResponseResult;
import com.xubeizhi.entity.PhotoAlbum;

/**
 * 相册服务类
 * @author mi
 * @create 2023/3/17 15:54
 */
public interface PhotoAlbumService extends IService<PhotoAlbum> {

    ResponseResult listAlbum(String name);

    ResponseResult getAlbumById(Integer id);

    ResponseResult insertAlbum(PhotoAlbum photoAlbum);

    ResponseResult updateAlbum(PhotoAlbum photoAlbum);

    ResponseResult deleteAlbumById(Integer id);

    //web端方法开始

    ResponseResult webAlbumList();

    ResponseResult webListPhotos(Integer albumId);
}
